/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.gov.cemaden.library.interfaces.smp;

import br.gov.cemaden.library.model.smp.ExecHardware;
import br.gov.cemaden.library.model.smp.ThreadsCPU;
import java.util.List;

/**
 *
 * @author paulo.dias
 */
public interface ThreadsCPUInterface {
    List<ThreadsCPU>findAll();
    ThreadsCPU findById(Long id);
    List<ThreadsCPU> findByTempoCPUThreadTotal(String tempoCPUThreadTotal);
    List<ThreadsCPU> findByTempoCPUThreadUsuario(String tempoCPUThreadUsuario);
    List<ThreadsCPU> findByTempoCPUkernelThread(String tempoCPUkernelThread);
    List<ThreadsCPU> findByExecHardware(ExecHardware execHardware);
    ThreadsCPU insert(ThreadsCPU threadsCpu);
    ThreadsCPU update(ThreadsCPU threadsCpu);
    void delete(ThreadsCPU threadsCpu);  
}
